Exchanges and validates the authorization code for an access token after being redirect by the external provider. A success authentication will redirect the user back to the default redirect url provided in the /login route.
In case of error it will include the query string error=unexpected_error when redirecting.
Documentation Index
Fetch the complete documentation index at: https://mintlify.hoop.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
The location header to redirect in case of failure or success. In case of error it will contain the error=<message> query string
The error description in case of failure to authenticate
The state value (Oauth2)
The authorization code (Oauth2)
Redirect with Success or Error